package net.wangds.auth.user.repo.rdbms;

import net.wangds.auth.user.entity.AndroidUserEntity;
import net.wangds.auth.user.entity.GeneralUserResRef;
import net.wangds.auth.user.entity.GeneralUserRoleRef;
import net.wangds.jpa.repository.RemovableRepo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AndroidUserJpaRepo extends AbstractAccountRefRepo<AndroidUserEntity> {

    AndroidUserEntity findByAccountIdAndAndroidDeviceId(String accountId, String androidDeviceId);

    boolean existsByAndroidDeviceId(String androidDeviceId);

}
